﻿using Model.Entitys;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Model.Dto.Orders
{
    public class OrderRes
    {
        public long? Id { get; set; }
        public string? Number { get; set; }

          
        public int? Status { get; set; }

       
        public long? UserId { get; set; }

    
        public long? AddressBookId { get; set; }

        public DateTime? OrderTime { get; set; }

       
        public DateTime? CheckoutTime { get; set; }

          
        public int? PayMethod { get; set; }

         
        public decimal? Amount { get; set; }

          
        public string? Remark { get; set; }

           
        public string? Phone { get; set; }

         
        public string? Address { get; set; }
      
        public string? UserName { get; set; }

             
        public string? Consignee { get; set; }

        public List<OrderDetail>? OrderDetails { get; set; }=new ();
    }
}
